@use 'utils/mixins';

.CenterMessageLock {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px rgba(var(--center-channel-color-rgb), 0.08) solid;
    border-radius: 4px;
    margin: 0 16px 16px;
    background-color: rgba(var(--center-channel-color-rgb), 0.04);
    gap: 12px;

    &__left {
        align-self: flex-start;
        padding: 0;
    }
    &__right {
        margin-top: -2px;
    }
    
    &__description {
        color: rgba(var(--center-channel-color-rgb), 0.75);
    }

    &__icon {
        color: rgba(var(--center-channel-color-rgb), 0.64);
    }

    &__title {
        padding-bottom: 4px;
        font-size: 14px;
        font-weight: 600;
    }

    &__cta {
        padding-top: 12px;

        .btn {
            @include mixins.tertiary-button;

            font-size: 12px;

            &:hover,
            &:focus {
                color: var(--button-color);
            }

            &:focus {
                border: 0;
            }

            &.is-admin {
                @include mixins.primary-button;

                &:hover,
                &:focus {
                    color: var(--button-color);
                }

                &:focus {
                    border: 0;
                }
            }
        }
    }
}
